$INCLUDE: 'C:\FG\FASTGRAF.FI'

      PROGRAM MAIN

      INTEGER MODE
      INTEGER FG_GETMODE

      CALL FG_INITPM
      MODE = FG_GETMODE()
      CALL FG_SETMODE(4)

      CALL FG_PALETTE(0,1)
      CALL FG_SETCOLOR(3)
      CALL FG_TEXT('Hello',5)
      CALL FG_WAITKEY

      CALL FG_SETMODE(MODE)
      CALL FG_RESET

      STOP ' '
      END
